package com.glsc.ngateway.common.api.flowable.resp;

import com.glsc.ngateway.common.api.flowable.dto.TaskDefinitionDto;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

public class ResponseProcessDefinitionDto implements Serializable {

    @ApiModelProperty(value = "流程定义key")
    private String processDefinitionKey;
    @ApiModelProperty(value = "流程定义版本号")
    private Integer processDefinitionVersion;
    //Product:74:c6acd4dc-107b-11ec-b222-000c299a9069
    @ApiModelProperty(value = "流程定义id")
    private String processDefinitionId;
    @ApiModelProperty(value = "任务task列表")
    private List<TaskDefinitionDto> taskList;

    public String getProcessDefinitionId() {
        return processDefinitionId;
    }

    public void setProcessDefinitionId(String processDefinitionId) {
        this.processDefinitionId = processDefinitionId;
    }

    public String getProcessDefinitionKey() {
        return processDefinitionKey;
    }

    public void setProcessDefinitionKey(String processDefinitionKey) {
        this.processDefinitionKey = processDefinitionKey;
    }

    public Integer getProcessDefinitionVersion() {
        return processDefinitionVersion;
    }

    public void setProcessDefinitionVersion(Integer processDefinitionVersion) {
        this.processDefinitionVersion = processDefinitionVersion;
    }

    public List<TaskDefinitionDto> getTaskList() {
        return taskList;
    }

    public void setTaskList(List<TaskDefinitionDto> taskList) {
        this.taskList = taskList;
    }

    @Override
    public String toString() {
        return "ResponseProcessDefinitionDto{" +
                "processDefinitionKey='" + processDefinitionKey + '\'' +
                ", processDefinitionVersion=" + processDefinitionVersion +
                ", processDefinitionId='" + processDefinitionId + '\'' +
                ", taskList=" + taskList +
                '}';
    }
}
